<template>
  <div class="count">
    <h2>我是count组件</h2>
    <p>姓名：{{name}}</p>
    <p>年龄:{{age}}</p>
    <p>性别:{{sex}}</p>
  </div>
</template>

<script>
export default {
  props: {
    count: Number,
    name: String,
    age: Number,
    sex: {
      type: String,
    //   required: true,
      default: "未填写...",
    },
  },
};
</script>

<style scoped>
.count {
  background-color: pink;
}
</style>